package com.cg.qingcheng.service.order;

import com.cg.qingcheng.entity.PageResult;
import com.cg.qingcheng.pojo.order.ReturnCause;

import java.util.List;
import java.util.Map;

/**
 * returnCause业务逻辑层
 */
public interface ReturnCauseService {

    public List<ReturnCause> findAll();

    public PageResult<ReturnCause> findPage(int page, int size);

    public List<ReturnCause> findList(Map<String, Object> searchMap);

    public PageResult<ReturnCause> findPage(Map<String, Object> searchMap, int page, int size);

    public ReturnCause findById(Integer id);

    public void add(ReturnCause returnCause);

    public void update(ReturnCause returnCause);

    public void delete(Integer id);

}
